package com.itheima.test;

import org.junit.Test;

public class testThread {

    public static void main(String[] args) {
        testTicket12306 ticket12306 = new testTicket12306();
        Thread t1 = new Thread(ticket12306, "携程");
        Thread t2 = new Thread(ticket12306, "飞猪");

        t1.start();
        t2.start();
    }
}
